package com.edu.hre.struts.form.pim;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.util.LabelValueBean;

public class EmpSubordinateUpdateForm extends ActionForm {
	
	private int id = 0;
	private int empNumber;
	private String subNumber;	
	private int reportingMethod;

	private String message = "";
	private boolean isAddNew = true;
	
	private List<LabelValueBean> allMethods = new ArrayList<LabelValueBean>();
	private List<LabelValueBean> allEmployees = new ArrayList<LabelValueBean>();

	public EmpSubordinateUpdateForm() {

	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean isAddNew() {
		return isAddNew;
	}

	public void setAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}
	
	public boolean getIsAddNew() {
		return isAddNew;
	}

	public void setIsAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}

	public int getEmpNumber() {
		return empNumber;
	}

	public void setEmpNumber(int empNumber) {
		this.empNumber = empNumber;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getReportingMethod() {
		return reportingMethod;
	}

	public void setReportingMethod(int reportingMethod) {
		this.reportingMethod = reportingMethod;
	}

	public List<LabelValueBean> getAllMethods() {
		return allMethods;
	}

	public void setAllMethods(List<LabelValueBean> allMethods) {
		this.allMethods = allMethods;
	}

	public List<LabelValueBean> getAllEmployees() {
		return allEmployees;
	}

	public void setAllEmployees(List<LabelValueBean> allEmployees) {
		this.allEmployees = allEmployees;
	}

	public String getSubNumber() {
		return subNumber;
	}

	public void setSubNumber(String subNumber) {
		this.subNumber = subNumber;
	}
}
